Skip to content

Conversation

tankyleo
Copy link
Contributor

Address #4062

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Sep 23, 2025

👋 Thanks for assigning @TheBlueMatt as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

Copy link

codecov bot commented Sep 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.69%. Comparing base (f707245) to head (7ce1ee8).
⚠️ Report is 42 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4108      +/-   ##
==========================================
- Coverage   88.72%   88.69%   -0.03%     
==========================================
  Files         177      177              
  Lines      133286   133294       +8     
  Branches   133286   133294       +8     
==========================================
- Hits       118253   118225      -28     
- Misses      12326    12360      +34     
- Partials     2707     2709       +2     
Flag Coverage Δ
fuzzing 21.74% <0.00%> (-0.01%) ⬇️
tests 88.53% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TheBlueMatt TheBlueMatt added this to the 0.2 milestone Sep 23, 2025
);
define_feature!(
1041, // The BOLTs PR uses feature bit 40/41, so add +1000 for the experimental bit
AnchorZeroFeeCommitments,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we rename this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done below

@ldk-reviews-bot
Copy link

👋 The first review has been submitted!

Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer.

@tankyleo tankyleo force-pushed the 2025-09-0fc-experimental-bit branch 3 times, most recently from 9f20993 to 314c98d Compare September 23, 2025 13:50
@carlaKC carlaKC self-requested a review September 23, 2025 18:38
);
define_feature!(
1041, // The BOLTs PR uses feature bit 40/41, so add +1000 for the experimental bit
ZeroFeeCommitments,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Err, sorry, but "different name" I didn't really mean "drop the Anchor" part, but rather "something like AnchorZeroFeeCommitmentsPreSpec or AnchorZeroFeeCommitmentsLDKTesting or AnchorZeroFeeCommitmentsTestingPhase or..."

@carlaKC
Copy link
Contributor

carlaKC commented Sep 23, 2025

Silly question - are we sure we want to add 1000 for experimental features? I could have sworn that we agreed to add 100 in a spec meeting to stay within the "protocol reserved" range (>255 are usable by BLIPs) but now can't find that written down anywhere.

@TheBlueMatt
Copy link
Collaborator

No idea lol. +100 seems fine to me too 🤷‍♂️

@tankyleo
Copy link
Contributor Author

Thank you @carlaKC yes I went with +1000 to match the HtcHold staging bit, will use 100

@TheBlueMatt
Copy link
Collaborator

Want to move the HoldHtlc bit to +100 while you're at it?

@tankyleo tankyleo force-pushed the 2025-09-0fc-experimental-bit branch from 314c98d to 6008e04 Compare September 23, 2025 20:53
@tankyleo
Copy link
Contributor Author

Moving the Hold bit one sec

We prefer to stay within the 0-255 range reserved for bolts, as bits >
255 can be used by bLIPs.
@tankyleo
Copy link
Contributor Author

A little heads up @valentinewallace we are moving the staging HtlcHold bit, see above reasoning from Carla

@TheBlueMatt
Copy link
Collaborator

Landing as trivial.

@TheBlueMatt TheBlueMatt merged commit dea125a into lightningdevkit:main Sep 24, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants